package com.yss.reportworld.domain.vo;

import com.yss.reportworld.domain.Database;
import com.yss.reportworld.domain.DatabaseDispose;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.PreparedStatement;
import java.util.List;
import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = false)
public class SqlScriptVO {


    private PreparedStatement pStemtInsert;
    private PreparedStatement pStemtUpdate;
    private PreparedStatement pStemtSelect;
    private PreparedStatement pStemtSelectPrimaryKey;
    private List<DatabaseDispose> databaseDispose; //  原来表的主键信息
    private List<Integer> keyNumReal; // 真是技术主键
    private List<Integer> onlyName; //唯一字段
    private List<String> dataTypeName; //数据类型名称
    private List<String> dataTypeCloumName;//字段信息
    private List<DatabaseDispose> listBusinessPrimary; // 配置信息 业务主键
    private List<DatabaseDispose> listCompare; // 是否业务主键重复比较字段
    private List<DatabaseDispose> listRegular;//正则表达式
    private Database database;
    private Map<String, String> dataMapPrimaryKey; // 业务主键
    private Map<String, String> dataMapPk;  // 技术主键

}
